<template>
	<view>
		<input type="text" placeholder="用户名"  v-model="adminName"/>
		<input :password="true" placeholder="登录密码"   v-model="adminPwd"/>
		<button type="primary" @click="handleLogin">登 录</button>
	</view>
</template>

<script setup>
import { ref } from 'vue';

const adminName = ref('')
const adminPwd = ref('')

const handleLogin = ()=>{
	console.log(adminName.value, adminPwd.value)
	uni.navigateTo({
		url: '/pages/CcMain/CcMain'
	})
}
</script>

<style>
	       
</style>
